#pragma once

#include "XXAutoComplete.h"
// CAddLineDialog dialog

class CAddLineDialog : public CDialog
{
	DECLARE_DYNAMIC(CAddLineDialog)

public:
	CAddLineDialog(CWnd* pParent = NULL);   // standard constructor
	virtual ~CAddLineDialog();

// Dialog Data
	enum { IDD = IDD_ADDLINE_DIALOG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	int m_iMindValue;
	COleDateTime m_dtLine;
	CString m_strStart;
	CString m_strDest;
	VectorKey m_vInputKey;

	CXXAutoComplete m_acStart;
	CXXAutoComplete m_acDest;

public:
	virtual BOOL OnInitDialog();
	void SetInputKey(VectorKey vk);
	void SetLineDate(CString strDate);
protected:
	virtual void OnOK();
};
